###基础镜像
FROM openjdk:8u342-slim-buster

###安装网络工具
RUN apt-get update && apt-get install -y curl unzip net-tools telnet iputils-ping vim fontconfig xfonts-utils && \
    rm -rf /var/lib/apt/lists/* && mkdir -p /app

###修改时区
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone

###安装arthas
COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas